package com.sc.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:wx.properties")
@ConfigurationProperties(prefix = "wx")
@Data
public class WxConfig {
    private String url;
    private String appid;
    private String secret;
}
